﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ADONETDataServicesExtension.Utils;

namespace ADONETDataServicesExtension
{
    public class KeyInstance : FrameworkEncapsulatedType<object>
    {
        internal const string FrameworkTypeName = "System.Data.Services.KeyInstance";

        public KeyInstance(object keyInstance)
            : base(keyInstance)
        {
        }

        public IList<object> PositionalValues
        {
            get
            {
                return ReflectionHelper.GetProperty<IList<object>>(FrameworkTypeName, "PositionalValues", FrameworkObject);
            }
        }
    }
}
